﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BLToolkit.Mapping;
using BLToolkit.DataAccess;

namespace Entities
{
    
    public class BoPhan
    {
        [MapField("IdChucVu"),PrimaryKey]
        public string MaBoPhan { get; set; }
        [MapField("TenChucVu")]
        public string TenBoPhan { get; set; }

        public int PhanQuyen { get; set; }
        [Association(ThisKey="IdChucVu",OtherKey="IdBoPhan")]
        public List<NhanVien> DsNhanVien { get; set; }
    }
}
